﻿using System;
namespace VegetableSale.NET.Entities
{
    public class User
    {

        private uint id;
        private string loginName;
        private string username;
        private string password;
        private string sex;
        private string email;
        private string address;

        public User()
        {

        }


        public User(uint id, string loginName, string username, string password, string sex, string email, string address)
        {
            this.id = id;
            this.loginName = loginName;
            this.username = username;
            this.password = password;
            this.sex = sex;
            this.email = email;
            this.address = address;
        }

        public uint Id
        {
            get => id;
            set => id = value;
        }

        public string LoginName
        {
            get => loginName;
            set => loginName = value;
        }

        public string Username
        {
            get => username;
            set => username = value;
        }

        public string Password
        {
            get => password;
            set => password = value;
        }

        public string Sex
        {
            get => sex;
            set => sex = value;
        }

        public string Email
        {
            get => email;
            set => email = value;
        }

        public string Address
        {
            get => address;
            set => address = value;
        }
    }

}

